#ifndef LYRICSLIST_H
#define LYRICSLIST_H

#include <QString>
#include <QFile>
#include <QDebug>
#include <QAbstractListModel>
#include <QFileInfo>
#include <QMap>


class LyricsList
{
public:
    LyricsList();
    LyricsList(QString filePath);
    void setMusicPath(QString filePath);
    QMap<int, int> &getCurrentLyricMapIndex();

    ~LyricsList();

public:
    //歌词信息
    QString title;
    QString artist;
    QString album;
    //时间、歌词map
    QMap<int,QString> *lyrics;
    //索引、时间map
    QMap<int,int> *timeMap;
};

#endif // LYRICSLIST_H
